home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc2_x / tcprogud.sit / TC Prog Guide / card_50849.txt < prev    next >
Text File  |  1991-02-27  |  524b  |  15 lines

  1. -- card: 50849 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 4755
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 4
  9. ----- text -----
  10. A 'break' statement is used to cause an immediate exit from the switch body.  Without it execution will continue with the statements following the remaining cases.  The example above has the same effect as the 'else if' example from the previous section, and demonstrates judicious use of break statements.
  11.  
  12.  
  13. -- part contents for background part 7
  14. ----- text -----
  15. 160